package com.ruoyi.pg.questionnaire.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import io.swagger.annotations.*;

/**
 * 问卷对象 pg_survey
 *
 * @author Ming
 * @date 2025-08-22
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@ApiModel(value = "PgSurvey", description = "用户实体")
public class PgSurvey extends BaseEntity {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;

    /**
     * 模板id
     */
    @Excel(name = "模板id")
    @ApiModelProperty("模板id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long tempId;
    /**
     * 子标题
     */
    @Excel(name = "子标题")
    @ApiModelProperty("子标题")
    private String subtitle;

    /**
     * 版本号
     */
    @Excel(name = "版本号")
    @ApiModelProperty("版本号")
    private String version;

    /**
     * 排序
     */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Long orderNum;

    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 是否删除 1-正常 2-删除
     */
    @ApiModelProperty("是否删除 1-正常 2-删除")
    private String deleteStatus;

}
